package cn.kkcxy.blog.core.vo.admin;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @BelongsProject: kkcxy-blog
 * @BelongsPackage: cn.kkcxy.blog.core.vo.admin
 * @Author: kkcxy
 * @CreateTime: 2024-10-08 00:12
 * @Description: 管理端路由VO
 * @Version: 1.0
 */
@Data
@Schema(description = "路由VO")
public class RouterVO implements Serializable {

    @Schema(description = "组件名称")
    private String name;

    @Schema(description = "路由地址")
    private String path;

    @Schema(description = "组件地址")
    private String component;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "路由元数据")
    private MetaVO meta;

    @Schema(description = "是否隐藏")
    private Integer hidden;

    @Schema(description = "子路由")
    private List<RouterVO> children;
}
